package com.ruoyi.ui.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 普通商品管理对象 ui_product
 * 
 * @author ruoyi
 * @date 2022-09-08
 */
public class UiProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Long proId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long shopId;

    /** 分类id */
    @Excel(name = "分类id")
    private Long categoryId;

    /** 0:普通商品 */
    @Excel(name = "0:普通商品")
    private Integer proType;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String proName;

    /** 配送方式 1:商家配送 2：用户自提 */
    @Excel(name = "配送方式 1:商家配送 2：用户自提")
    private String deliveryType;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal proPrice;

    /** 现价 */
    @Excel(name = "现价")
    private BigDecimal proReprice;

    /** 商品介绍 */
    @Excel(name = "商品介绍")
    private String proTitle;

    /** 状态 1 为上架 0为下架  默认为上架 */
    @Excel(name = "状态 1 为上架 0为下架  默认为上架")
    private Integer state;

    /** 商品库存 */
    @Excel(name = "商品库存")
    private Long proStock;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String proImg;

    /** 商品总数 */
    @Excel(name = "商品总数")
    private Long proNum;

    /** 可用字段1 */
    private String remark1;

    /** 可用字段2 */
    private String remark2;

    public void setProId(Long proId) 
    {
        this.proId = proId;
    }

    public Long getProId() 
    {
        return proId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setProType(Integer proType) 
    {
        this.proType = proType;
    }

    public Integer getProType() 
    {
        return proType;
    }
    public void setProName(String proName) 
    {
        this.proName = proName;
    }

    public String getProName() 
    {
        return proName;
    }
    public void setDeliveryType(String deliveryType) 
    {
        this.deliveryType = deliveryType;
    }

    public String getDeliveryType() 
    {
        return deliveryType;
    }
    public void setProPrice(BigDecimal proPrice) 
    {
        this.proPrice = proPrice;
    }

    public BigDecimal getProPrice() 
    {
        return proPrice;
    }
    public void setProReprice(BigDecimal proReprice) 
    {
        this.proReprice = proReprice;
    }

    public BigDecimal getProReprice() 
    {
        return proReprice;
    }
    public void setProTitle(String proTitle) 
    {
        this.proTitle = proTitle;
    }

    public String getProTitle() 
    {
        return proTitle;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setProStock(Long proStock) 
    {
        this.proStock = proStock;
    }

    public Long getProStock() 
    {
        return proStock;
    }
    public void setProImg(String proImg) 
    {
        this.proImg = proImg;
    }

    public String getProImg() 
    {
        return proImg;
    }
    public void setProNum(Long proNum) 
    {
        this.proNum = proNum;
    }

    public Long getProNum() 
    {
        return proNum;
    }
    public void setRemark1(String remark1) 
    {
        this.remark1 = remark1;
    }

    public String getRemark1() 
    {
        return remark1;
    }
    public void setRemark2(String remark2) 
    {
        this.remark2 = remark2;
    }

    public String getRemark2() 
    {
        return remark2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("proId", getProId())
            .append("shopId", getShopId())
            .append("categoryId", getCategoryId())
            .append("proType", getProType())
            .append("proName", getProName())
            .append("deliveryType", getDeliveryType())
            .append("proPrice", getProPrice())
            .append("proReprice", getProReprice())
            .append("proTitle", getProTitle())
            .append("state", getState())
            .append("proStock", getProStock())
            .append("proImg", getProImg())
            .append("proNum", getProNum())
            .append("remark1", getRemark1())
            .append("remark2", getRemark2())
            .toString();
    }
}
